/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.techopropio.bfh.service;

import com.techopropio.bfh.model.Usuario;

/**
 *
 * @author Williams
 */
public class UsuarioDAOSim implements UsuarioDAO {

    @Override
    public Usuario find(String login, String password) {
        if ("jefeFamilia".equals(login)) {
            return new Usuario("45335699", login, password, "williams j", "manrique", "salazar", "1988", "jefeFamilia","1");
        } else if ("evaluador".equals(login)) {
            return new Usuario("45335699", login, password, "williams j", "manrique", "salazar", "1988", "evaluador","1");
        }
        return null;
    }
}
